package com.skeleton.web.jsp.control;

import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class JspControl {

	protected Logger logger = LogManager.getLogger(this.getClass());

	@RequestMapping("index")
	public String index() {
		logger.info("----------index-----------------");
		return "guide/index";
	}

	@RequestMapping("admin/adminLogin")
	public String adminLogin() {
		logger.info("----------admin/adminLogin-----------------");
		return "admin/login";
	}

	@RequestMapping("admin/adminIndex")
	public String adminIndex() {
		logger.info("----------admin/adminIndex-----------------");
		return "admin/index";
	}

	@RequestMapping("admin/hotGuideManager")
	public String hotGuideManager() {
		logger.info("----------admin/hotGuideManager-----------------");
		return "admin/hotGuideManager";
	}

	@RequestMapping("admin/userManager")
	public String userManager() {
		logger.info("----------admin/userManager-----------------");
		return "admin/userManager";
	}
	
}
